<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/11/29
 * Time: 20:07
 */

print_r($_SERVER);
echo '<br />';

echo 'GET请求的完整地址：'.__FILE__;
echo '<br />';
echo '用户IP地址：'.$_SERVER['REMOTE_ADDR'];
echo '<br />';
echo '用户请求方法：'.$_SERVER['REQUEST_METHOD'];
echo '<br />';
echo '用户请求参数：'.$_SERVER['REQUEST_URI'];

